package com.linfeng.server.oauth.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class JwtProperties {

    @Value("#{T(java.lang.Integer).parseInt('${jwt.token.expires.access:7200}')}")
    public Integer TOKEN_ACCESS_EXPIRES;

    @Value("#{T(java.lang.Integer).parseInt('${jwt.token.expires.refresh:259200}')}")
    public Integer TOKEN_REFRESH_EXPIRES;
}
